package com.dfk.bs.common.utils;

public class SelectThing{
    
    public static int getTypeId(String name){

        switch (name){
            case "三室一厅":
                return 1;
            case "两室一厅":
                return 2;
            case "一室一厅":
                return 3;
            case "三室一厅两卫":
                return 4;
        }
        return 0;
    }

    public static String getTypeName(Integer typeid){

        switch (typeid){
            case 1:
                return "三室一厅";
            case 2:
                return "两室一厅";
            case 3:
                return "一室一厅";
            case 4:
                return "三室一厅两卫";
        }
        return "没找到所选户型";
    }

    public static String getEleappcodes(String roomcode){

        switch (roomcode){
            case "卧室01":
                return "空调,灯泡";
            case "客厅":
                return "电视,灯泡,空调";
            case "卫生间":
                return "灯泡,热水器";
            case "厨房":
                return "冰箱,油烟机,灯泡";
            case "卧室02":
                return "空调,灯泡,电视,洗衣机";
            case "卧室03":
                return "灯泡,空调";
            default:
                break;
        }
        return "没找到所选房间";
    }



}
